/*

Author   : chaos

FileName : env.cpp

Date     : 09/08/17 14:21:43

*/
#include <iostream>
using namespace std;

int main(int argc ,char *argv[],char *env[])
{
    cout << "argc =" << argc << endl;

    for(int i=0; i < argc; ++i)
        cout << "argv[" << i << "]=" << argv[i] << endl;

    for (int i = 0; env[i] != NULL; i++) {
        cout << "env[" << i << "]=" << argv[i] << endl;
    return 0;
    }
}
